package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Employee;
import com.itheima.pojo.Result;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;


public interface EmployeeService extends IService<Employee>{



    Result login(@RequestBody Employee employee);

    Result page(String name, Integer page, Integer pageSize);

    Result getid(String id);

    Result add(HttpServletRequest request, @RequestBody Employee employee);


    Result put( Employee employee);
}
